<!DOCTYPE html>
<html>
<head>
    <meta HTTP-EQUIV="pragma" CONTENT="no-cache">
    <meta HTTP-EQUIV="Cache-Control" CONTENT="no-store, must-revalidate">
    <meta HTTP-EQUIV="expires" CONTENT="0">
	<meta charset="utf-8">
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="/layui/css/layui.css" media="all" />
	<link rel="stylesheet" href="/css/public.css" media="all" />
    <link rel="stylesheet" href="/css/special.css" media="all" />
    <link rel="stylesheet" href="/layui/css/layui.css" media="all" />
    <script type="text/javascript" src="/layui/layui.js"></script>
    <script type="text/javascript" src="/js/pages/role/formData.js"></script>
</head>
<body class="childrenBody">
<form class="layui-form layui-row layui-col-space12">
	<div class="layui-col-md12 layui-col-xs12">
		<div class="layui-row layui-col-space12">
			<div class="layui-col-md12">
				<div class="layui-form-item magt3">
                    <div class="layui-inline">
                        <label class="layui-form-label width_120">角色名称</label>
                        <div class="layui-input-block margin-left_150" style="width: 200px;">
                            <input type="text" class="layui-input" name="roleName" required lay-verify="roleName" placeholder="请输入角色名称">
                        </div>
                    </div>
                    <div class="layui-inline">
                    <label class="layui-form-label">角色类型</label>
                        <div class="layui-input-block" style="width: 200px;">
                            <select name="code" lay-verify="checkCode">
                                <option value="0">请选择角色类型</option>
                                <option value="LEVEL_ADMIN">员工角色</option>
                                <option value="LEVEL_EMPLOY">管理员角色</option>
                            </select>
                        </div>
                    </div>
				</div>
                <!--  hidden -->
                <input type="hidden" class="layui-input id" lay-verify="id" name="id">
                <!--  hidden -->

                <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
                    <legend>角色权限配置</legend>
                </fieldset>

                <div class="layui-field-box">
                    <div class="layui-form-item magt3">
                        <label class="layui-form-label width_120">首页</label>
                        <div class="layui-input-block margin-left_150">
                            <input type="checkbox" name="content[index_data]" value="index_data" title="查看首页数据">
                        </div>
                    </div>
                    <div class="layui-form-item magt3">
                        <label class="layui-form-label width_120">充值记录</label>
                        <div class="layui-input-block margin-left_150">
                            <input type="checkbox" name="content[recharge_list]" value="recharge_list" title="查看自己的充值记录">
                            <input type="checkbox" name="content[recharge_list_all]" value="recharge_list_all" title="查看所有的充值记录">
                            <input type="checkbox" name="content[recharge_excel]" value="recharge_excel" title="Excel导入/导出数据">
                            <input type="checkbox" name="content[recharge_edit_status]" value="recharge_edit_status" title="设置充值到帐状态">
                        </div>
                    </div>
                    <div class="layui-form-item magt3">
                        <label class="layui-form-label width_120">消费记录</label>
                        <div class="layui-input-block margin-left_150">
                            <input type="checkbox" name="content[consumer_list]" value="consumer_list" title="查看自己的消费记录">
                            <input type="checkbox" name="content[consumer_list_all]" value="consumer_list_all" title="查看所有的消费记录">
                            <input type="checkbox" name="content[consumer_excel]" value="consumer_excel" title="Excel导入/导出数据">
                            <input type="checkbox" name="content[invoice_review]" value="invoice_review" title="发票审核">
                        </div>
                    </div>
                    <div class="layui-form-item magt3">
                        <label class="layui-form-label width_120">商品管理</label>
                        <div class="layui-input-block margin-left_150">
                            <input type="checkbox" name="content[goods_list]" value="goods_list" title="查看商品">
                            <input type="checkbox" name="content[goods_edit_status]" value="goods_edit_status" title="设置出关单状态">
                            <input type="checkbox" name="content[send_goods_list]" value="send_goods_list" title="商品发货管理">
                            <!--
                            <input type="checkbox" name="content[goods_list_all]" value="goods_list_all" title="查看所有的商品"> -->
                        </div>
                    </div>
                    <div class="layui-form-item magt3">
                        <label class="layui-form-label width_120">公司管理</label>
                        <div class="layui-input-block margin-left_150">
                            <input type="checkbox" name="content[userAdmin_list]" value="userAdmin_list" title="查看员工列表">
                            <input type="checkbox" name="content[userAdmin_review]" value="userAdmin_review" title="员工审核">
                        </div>
                    </div>
                    <div class="layui-form-item magt3">
                        <label class="layui-form-label width_120">其它</label>
                        <div class="layui-input-block margin-left_150">
                            <input type="checkbox" name="content[role_list]" value="role_list" title="角色管理">
                            <input type="checkbox" name="content[summary_list]" value="summary_list" title="查看员工汇总数据">
                            <input type="checkbox" name="content[datadefine_list]" value="datadefine_list" title="海关码管理">
                            <input type="checkbox" name="content[systemRecord_list]" value="systemRecord_list" title="系统备份还原">
                        </div>
                    </div>
                </div>

                <div id="submitDiv">
                    <hr class="layui-bg-gray" />
                    <div class="layui-right submitDiv">
                        <a class="layui-btn layui-btn-sm" lay-filter="submitBtn" lay-submit><i class="layui-icon">&#xe609;</i>提交</a>
                    </div>
                </div>
			</div>
		</div>
	</div>
</form>
</body>
</html>
